package com.starsea.book.ui.newpage.entity

import java.io.Serializable

/**
 * @author Lee
 * @createTime 2024-01-03 22 GMT+8
 * @desc :
 */
class BookInfoEntity : Serializable {
//    activityLabel 活动标签 用@分开 string
//    authorId 作者Id int32
//    authorName 作者 string
//    bookCover 封面图 string
//    bookDesc 简介 string
//    bookId 小说id int32
//    bookScore 评分 number
//    bookShelfFlag 是否已加入书架 0 否 1 是 int32
//    bookState 0连载1完结2停更 int32
//    bookTitle 标题 string
//    likeCount 累计人气 int32
//    pvCount 阅读人数 int32
//    sectionId 章节id 有章节id需要跳转章节 int64
//    wordCount 字数

    var activityLabel: String = ""
    var authorId: String = ""
    var authorName: String? = ""
    var bookCover: String? = ""
    var bookDesc: String? = ""
    var bookId: String? = ""
    var bookTitle: String? = ""
    var sectionId: String? = ""
    var bookShelfId: String? = ""
    var sectionTitle: String? = ""
    var content: String? = ""
    var typeName: String? = ""
    var bookScore: Double = 0.0
    var bookShelfFlag: Int = 0//是否已加入书架 0 否 1 是
    var bookState: Int = 0
    var likeCount: Int = 0
    var scoreCount: Int = 0
    var pvCount: Int = 0
    var isVipBook: Int = 0
    var wordCount: Int = 0
    var shelfType: String? = ""
    var isFree: Int = 0//是否可读 0:否 1:是
    var isCanRead: Int = 0//是否免费 0:免费 1:收费
    override fun toString(): String {
        return "BookInfoEntity(activityLabel='$activityLabel', authorId='$authorId', authorName=$authorName, bookCover=$bookCover, bookDesc=$bookDesc, bookId=$bookId, bookTitle=$bookTitle, sectionId=$sectionId, bookShelfId=$bookShelfId, sectionTitle=$sectionTitle, content=$content, bookScore=$bookScore, bookShelfFlag=$bookShelfFlag, bookState=$bookState, likeCount=$likeCount, pvCount=$pvCount, wordCount=$wordCount, shelfType=$shelfType, isFree=$isFree, isCanRead=$isCanRead)"
    }


}